﻿using LPP.Core.Services;


namespace LPP.Service.MapServices
{
    public interface ILocationService
    {
        Task<LocationResult> GetLocationInfoAsync(double longitude, double latitude);
    }
    public class LocationResult
    {
        public bool Success { get; set; }
    public string Message { get; set; }
    public LocationInfo Data { get; set; }
}

public class LocationInfo
{
    public string Province { get; set; }
    public string City { get; set; }
    public string District { get; set; }
    public string Address { get; set; }
    public string Street { get; set; }
    public string StreetNumber { get; set; }
}
}
